import request from "@/utils/request";

export function getSetting(){
  return request({
    url: '/setting/getSetting',
    method: 'get',
  })
}

export function saveSetting(data){
  return request({
    url: '/setting/saveSetting',
    method: 'post',
    data
  })
}

export function getLogisticsSetting(){
  return request({
    url: '/setting/getLogisticsSetting',
    method: 'get',
  })
}

export function saveLogisticsSetting(data){
  return request({
    url: '/setting/saveLogisticsSetting',
    method: 'post',
    data
  })
}

export function saveDeliveryTimeSetting(data){
  return request({
    url: '/setting/saveDeliveryTimeSetting',
    method: 'post',
    data
  })
}
